package org.shoukaiseki.springtest.oracledemo.project.testdemo.service.impl;

import org.shoukaiseki.springtest.oracledemo.project.testdemo.mapper.TestDemoMapper;
import org.shoukaiseki.springtest.oracledemo.project.testdemo.model.TestDemo;
import org.shoukaiseki.springtest.oracledemo.project.testdemo.service.TestDemoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TestDemoServiceImpl implements TestDemoService {

    @Resource
    TestDemoMapper testDemoMapper;

    @Override
    public List<TestDemo> selectTestDemoList(TestDemo testDemo) {
        return testDemoMapper.selectTestDemoList(testDemo);
    }
}
